﻿namespace Morus.Infrastructure
{
    using System;

    public class MessageDispatchEventArgs : EventArgs
    {
        public MessageDispatchEventArgs(dynamic message, Type handlerType, object handler)
        {
            this.Message = message;
            this.HandlerType = handlerType;
            this.Handler = handler;
        }

        public dynamic Message { get; private set; }
        public Type HandlerType { get; private set; }
        public object Handler { get; private set; }
    }
}
